from ultralytics import YOLO
import os
if __name__ == '__main__':
    os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'
    model=YOLO("./yolov8n.pt")
    results=model.train(data="./data/sample/steel.yaml",epochs=20,batch=8)